<?php
session_start();
	mysql_connect("localhost", "sapmenet_admin", "a1s2d3f4g5h6j7") or die ("Problem with datebase");
	mysql_select_db("sapmenet_users");
	$name=htmlspecialchars($_POST['nameOfAlbum']);
	$name=mysql_real_escape_string($name);
	mysql_query("INSERT INTO albums (name, userID) VALUES ('".$name."', '".$_SESSION['JID']."')");
?>